const routes = [
  // {
  //   path: "/:catchAll(.*)*",
  //   component: () => import("pages/ErrorNotFound.vue"),
  // },

  {
    path: "/",
    component: () => import("layouts/IndexLayout.vue"),
    children: [
      {
        path: "/",
        name: 'InputContent',
        component: () => import("pages/InputContent.vue"),
      },
      {
        path: "/login",
        name: 'LoginPage',
        component: () => import("pages/LoginPage.vue"),
      },          
      {
        path: '/forgot-password',
        name: 'ForgotPassword',
        component: () => import('pages/ForgotPassword.vue')
      },
      {
        path: '/register',
        name: 'RegisterPage',
        component: () => import('pages/RegisterPage.vue')
      },
      {
        path: '/tableReport',
        name: 'TableReport',
        component: () => import('pages/TableReport.vue')
      },
      {
        path: '/relations',
        name: 'Relations',
        component: () => import('src/pages/RelationsPage.vue')
      },
      {
        path: '/member-report',
        name: 'MemberReport',
        component: () => import('src/pages/MemberReport.vue')
      },
      
    ],
  },

  {
    path: "/",
    component: () => import("layouts/MainLayout.vue"),
    children: [
      {
        path: "create-organization",
        name: "create-organization",
        component: () => import("pages/CreateOrganization.vue"),
      },
      // 其他子页面
    ],
  },
  // {
  //   path: "/internal",
  //   component: () => import("layouts/IndexLayout.vue"),
  //   children: [
  //     // { path: "", component: () => import("pages/SunChart.vue") },
  //     { path: "",name:"InputContent", component: () => import("pages/InputContent.vue") },
  //     { path: '/login',name:"LoginPage", component: () => import('pages/LoginPage.vue') },
  //     { path: '/tablereport',name:"Tablereport", component: () => import('pages/TableReport.vue') },
  //     {
  //       path: "/internal",
  //       component: () => import("pages/InternalContact.vue"),
  //     },

  //   ],
  // },

  // Always leave this as last one,
  // but you can also remove it
];

export default routes;
